package com.combined.model;

/**
 * @author SnowmanAndBee
 * @version <version>
 * <description>
 * @date 2022/4/10 - 13:28
 */
public interface BeatModelInterface {
    void initialize();

    void on();

    void off();

    void setBPM(int bpm);

    int getBPM();

    void registerObserver(BeatObserver o);

    void removeObserver(BeatObserver o);

    void notifyBeatObservers();

    void registerObserver(BPMObserver o);

    void removeObserver(BPMObserver o);

    void notifyBPMObservers();
}
